#ifndef _GUARD_CLIENT_
#define _GUARD_CLIENT_
#include "display.h"
#include "Table.h"
#include <signal.h>
#include <ncurses.h>
#include <cstdlib>
#include <sstream>
#include <vector>
#include "Slot.h"
using namespace std;
class Client {
  public:
    Client(Table* table);
    void drawTable(Table* table);
    void updateClient(Table* table);
    stringstream messageString;
    int clickX;
    int clickY;
    int cardX;
    int cardY;
    int suit;
    int number;
    int dragX;
    int dragY;

  private:
    display gameDisplay;
    int mouseX;
    int mouseY;
    int key;
    Table* table;
    /*Each player contains the following slots
    1. Hand (7 slots for human, 1 for non human)
    2. Deck
    3. Active Cards
    */
    
    vector<Slot*> p1Cards;
    vector<Slot*> p2Cards;
    vector<Slot*> p3Cards;
    vector<Slot*> p4Cards;
    Slot pillage;
    Slot spoils;
  };

#endif
